<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <title>氦闪</title>
    <link rel="icon" href="__PUBLIC__/web/images/favicon.ico" type="image/x-icon">
    <link rel="stylesheet" href="__PUBLIC__/web/css/public.css">
    <link rel="stylesheet" href="__PUBLIC__/web/css/user_infore.css">
</head>
<body>
<header>
    <include file="Index/header"/>
</header>


<div class="ly-master">
    <ul class="ly-nav">
        <li>
            <h1>服装索引</h1>
            <dd>系列</dd>
            <dl>
                <volist name="category" id="vo">

                    <dt><a href="{:U('Index/home', ['cate_id' => $vo['cate_id']])}">{$vo.cate_name}</a></dt>
                </volist>
            </dl>
        </li>
        <li>
            <dd ><a href="{:U('Index/user')}">我的订单</a></dd>
            <dd ><a href="{:U('Address/address_list')}">收货信息</a></dd>
            <dd class="ly-cation"><a href="{:U('Index/user_info')}">账户信息</a></dd>
            <dd><a href="{:U('Index/sale')}">售后信息</a></dd>
        </li>
    </ul>
</div>


<section>
    <!--登录状态点击个人中心的界面-->
    <div class="ly-content ly-cent">
        <div class="ly-title">我的账户信息</div>
        <form action="{:U('user_info')}" method="post">

        <ul class="ly-list">
            <li>
                <input type="text" class="ly-input" title="如需修改用户名，则修改后点击下方保存即可"  placeholder="用户名" name="username" value="{$member_info.username}"/>
            </li>
            <li>
                <input type="password" class="ly-input" title="如需修改密码，则修改后点击下方保存即可" placeholder="密码" name="password" value=""/>
            </li>
            <li>
                <input type="text" class="ly-input" title="如需修改昵称，则修改后点击下方保存即可" placeholder="昵称" name="nickname" value="{$member_info.nickname}"/>
            </li>
            <li>
                <input type="text" class="ly-input" title="如需修改手机，则修改后点击下方保存即可" placeholder="手机" name="phone" value="{$member_info.phone}"/>
            </li>
            <li>
                <input type="text" class="ly-input" title="如需修改email，则修改后点击下方保存即可" placeholder="电子邮箱" name="email" value="{$member_info.email}"/>
            </li>
            <li>
                <select class="ly-select" title="如需修改性别，则修改后点击下方保存即可">
                    <option>请选择性别</option>
                    <option <if condition="$member_info.sex eq '男'">selected</if> >男</option>
                    <option <if condition="$member_info.sex eq '女'">selected</if>>女</option>
                    <option <if condition="$member_info.sex eq '不透露'">selected</if>>不透露</option>
                </select>
            </li>
            <li>
                <input type="text" class="ly-input" title="如需修改生日，则修改后点击下方保存即可" placeholder="生日" id="birth" name="birthday" value="{$member_info.birthday}" readonly/>
            </li>
            <li>
                <textarea class="ly-textarea" title="如需修改爱好，则修改后点击下方保存即可" placeholder="远动爱好" name="hobby">{$member_info.hobby}</textarea>
            </li>
            <li>
                <input type="submit" class="ly-submit" id="ly-sub-3" value="保存" style="border: none;">
                <!--<a class="ly-submit" id="ly-sub-3">保存</a>-->
            </li>
        </ul>
        </form>


        <div class="ly-h1">
            如对以上信息有疑问，请直接<a href="contact.html" class="ly-a">联系我们</a>
        </div>
    </div>

    <include file="Index/footer"/>
</section>

<div class="ly-menu-nav" data-id="1">
    <img src="__PUBLIC__/web/images/icon_menu.png" />
</div>

</body>
<script src="__PUBLIC__/web/js/jquery.min.js"></script>
<script src="__PUBLIC__/web/js/laydate/laydate.js"></script>
<script src="__PUBLIC__/web/js/public.js"></script>

<script>
    //执行一个laydate实例
    var date = new Date();
    var time = date.getFullYear()+"-"+(date.getMonth()+1)+"-"+date.getDate()+ " "+date.getHours()+":"+date.getMinutes()+":"+date.getSeconds();
    console.log(time)
    laydate.render({
        elem: '#birth' //指定元素
        ,min: '1900-8-11 12:30:00'
        ,max:time
    });
</script>
</html>





